package com.cpems.system.service;

import com.cpems.system.domain.EnergyProjectSync;
import com.cpems.system.domain.vo.EnergyProjectSyncVo;
import com.cpems.system.domain.bo.EnergyProjectSyncBo;
import com.cpems.common.core.page.TableDataInfo;
import com.cpems.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 项目总能效同步Service接口
 *
 * @author lyonfive
 * @date 2025-03-26
 */
public interface IEnergyProjectSyncService {

    TableDataInfo<EnergyProjectSync> selectPageEnergySyncList(EnergyProjectSyncBo bo, PageQuery pageQuery);

    /**
     * 查询项目总能效同步
     */
    EnergyProjectSyncVo queryById(Long energyId);

    /**
     * 查询项目总能效同步列表
     */
    TableDataInfo<EnergyProjectSyncVo> queryPageList(EnergyProjectSyncBo bo, PageQuery pageQuery);

    /**
     * 查询项目总能效同步列表
     */
    List<EnergyProjectSyncVo> queryList(EnergyProjectSyncBo bo);

    /**
     * 新增项目总能效同步
     */
    Boolean insertByBo(EnergyProjectSyncBo bo);

    /**
     * 修改项目总能效同步
     */
    Boolean updateByBo(EnergyProjectSyncBo bo);

    /**
     * 校验并批量删除项目总能效同步信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
